home *** CD-ROM | disk | FTP | other *** search
Wrap
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta NAME="Author,Design" Content="GateKeeper Team; gatekeeper@infopulse.net"> <meta NAME="Copyright" Content="Infopulse; www.infopulse.net"> <title>Empty</title> </head> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080"> <p><big><strong><font face="Arial">DHCP options for <br><%Response.Write(Request.ReqParam("identifier"))%></font></strong></big></p> <% if Request.ReqParam("action") = "Commit" Then On Error Resume Next ComDhcp.DhcpOption (Request.ReqParam("identifier"),-1) ="refresh" Dim count count =1 while (count <> 60 ) count=count+1 if Request.ReqParam(count) = "ON" then ComDhcp.DhcpOption (Request.ReqParam("identifier"),count) =Request.ReqParam ( count+100 ) end if wend If Err.Number = 0 Then Response.Redirect("/services/editdhcp.agp") End If End if %> <% If Not Len(ErrLine) = 0 Then Response.Write("<B><FONT COLOR=""#FF0000"">" & ErrLine & "</FONT></B><br>") End If %> <% Dim identifier identifier = Request.ReqParam("identifier") Dim ArrayProp(66) ArrayProp(1)="" ArrayProp(2)="2. Time Offset" ArrayProp(3)="3. Router" ArrayProp(4)="4. Time Server" ArrayProp(5)="5. Name Server" ArrayProp(6)="6. Domain Name Server" ArrayProp(7)="7. Log Server" ArrayProp(8)="8. Cookie Server" ArrayProp(9)="9. LPR Server" ArrayProp(10)="10. Impress Server" ArrayProp(11)="11. Resource Location Server" ArrayProp(12)="12. Host name" ArrayProp(13)="13. Boot File Size" ArrayProp(14)="14. Merit Dump File" ArrayProp(15)="15. Domain Name" ArrayProp(16)="16. Swap Server" ArrayProp(17)="17. Root Path" ArrayProp(18)="18. Extensions Path" ArrayProp(19)="19. IP Forwarding Enable/Disable (value=0 or 1)" ArrayProp(20)="20. Non-Local Source Routing Enable/Disable (value=0 or 1)" ArrayProp(21)="21. Policy Filter" ArrayProp(22)="22. Maximum Datagram Reassembly Size" ArrayProp(23)="23. Default IP Time-to-live" ArrayProp(24)="24. Path MTU Aging Timeout" ArrayProp(25)="25. Path MTU Plateau Table" ArrayProp(26)="26. Interface MTU" ArrayProp(27)="27. All Subnets are Local" ArrayProp(28)="28. Broadcast Address" ArrayProp(29)="29. Perform Mask Discovery" ArrayProp(30)="30. Mask Supplier" ArrayProp(31)="31. Perform Router Discovery" ArrayProp(32)="32. Router Solicitation Address" ArrayProp(33)="33. Static Route" ArrayProp(34)="34. Trailer Encapsulation" ArrayProp(35)="35. ARP Cache Timeout" ArrayProp(36)="36. Ethernet Encapsulation" ArrayProp(37)="37. TCP Default TTL" ArrayProp(38)="38. TCP Keepalive Interval" ArrayProp(39)="39. TCP Keepalive Garbage" ArrayProp(40)="40. Network Information Service Domain" ArrayProp(41)="41. Network Information Servers" ArrayProp(42)="42. Network Time Protocol Servers" ArrayProp(43)="43. Vendor Specific Information" ArrayProp(44)="44. NetBIOS over TCP/IP Name Server" ArrayProp(45)="45. NetBIOS over TCP/IP Datagram Distribution Server" ArrayProp(46)="46. NetBIOS over TCP/IP Node Type" ArrayProp(47)="47. NetBIOS over TCP/IP Scope" ArrayProp(48)="48. X Window System Font Server" ArrayProp(49)="49. X Window System Display Manager" ArrayProp(50)="" ArrayProp(51)="" ArrayProp(52)="" ArrayProp(53)="" ArrayProp(54)="" ArrayProp(55)="55. Parameter Request List" ArrayProp(56)="56. Message" ArrayProp(57)="57. Maximum DHCP Message Size" ArrayProp(58)="" ArrayProp(59)="" ArrayProp(60)="60. Class-identifier" ArrayProp(61)="61. Client-identifier" %> <form method="POST" action= "/services/AdvanceSubnet.agp"> <input type="hidden" name="identifier" value="<%Response.Write(identifier)%>"> <br> <table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <td bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF"> Enable </font></strong></td> <td bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF"> Subnet Options </font></strong></td> <td bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF"> Subnet Value </font></strong></td> </tr> <% Dim counter counter =1 while (counter <> 61 ) counter=counter+1 if (ArrayProp(counter)<>"") then %> <tr> <input type="hidden" size=14 name="identifier" value="<%Request.Write(Request.ReqParam("identifier"))%>" > <td width="5%"><font face="Arial"><input type="checkbox" name=<%Response.Write(counter)%> value="ON" <% if ComDhcp.DhcpOption (identifier,counter)<>"" then Response.Write("checked") end if%>></td> <td width="40%"><strong><font face="Arial"><%Response.Write(ArrayProp(counter))%></B></td> <td width="55%"><font face="Arial"><input type="text" size="35" name=<%Response.Write(counter+100)%> value="<%Response.Write(ComDhcp.DhcpOption (identifier,counter)) %>"> </td> </tr> <% end if wend %> </table> <p><input type="submit" name="action" value="Commit"></p> </form> <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font> </body> </html>